package com.example.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.pojo.Employee;
import org.apache.ibatis.annotations.Mapper;

import java.util.Collection;

public interface EmployeeMapper extends BaseMapper<Employee>{

    //查询全部员工信息
    public Collection<Employee> getAll();

    //查询员工通过id
    public Employee getEmployeeById(Integer id);

}
